#app {
   // 主体区域
   .main-container {
      height: 100%;
      transition: margin-left .28s;
      margin-left: 180px;
      position: relative;
   }
   // 侧边栏
   .sidebar-container {
      transition: width 0.28s;
      width: 180px !important;
      height: 100%;
      position: fixed;
      font-size: 0px;
      top: 0;
      bottom: 0;
      left: 0;
      z-index: 1001;
      overflow: hidden;
      //reset element-ui css
      .horizontal-collapse-transition {
         transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
      }
      .el-scrollbar__bar.is-vertical {
         right: 0px;
      }
      .scrollbar-wrapper {
         overflow-x: hidden !important;
         .el-scrollbar__view {
            height: 100%;
         }
      }
      .is-horizontal {
         display: none;
      }
      a {
         display: inline-block;
         width: 100%;
         overflow: hidden;
      }
      .svg-icon {
         margin-right: 16px;
      }
      .el-menu {
         border: none;
         height: 100%;
         width: 100% !important;
      }
      .is-active > .el-submenu__title {
         color: #f4f4f5 !important;
      }
   }
   .hideSidebar {
      .sidebar-container {
         width: 36px !important;
      }
      .main-container {
         margin-left: 36px;
      }
      .submenu-title-noDropdown {
         padding-left: 10px !important;
         position: relative;
         .el-tooltip {
            padding: 0 10px !important;
         }
      }
      .el-submenu {
         overflow: hidden;
         & > .el-submenu__title {
            padding-left: 10px !important;
            .el-submenu__icon-arrow {
               display: none;
            }
         }
      }
      .el-menu--collapse {
         .el-submenu {
            & > .el-submenu__title {
               & > span {
                  height: 0;
                  width: 0;
                  overflow: hidden;
                  visibility: hidden;
                  display: inline-block;
               }
            }
         }
      }
   }
   .prodContainer .submenu-title-noDropdown,
   .prodContainer .el-submenu > .el-submenu__title,
   .prodContainer .el-submenu .el-menu-item {
      min-width: 180px !important;
      background-color: $subMenuBg !important;
      &:hover {
         background-color: $menuHover !important;
      }
   }
   .sitContainer .submenu-title-noDropdown,
   .sitContainer .tips > p,
   .sitContainer .el-submenu > .el-submenu__title,
   .sitContainer .el-submenu .el-menu-item{
      min-width: 180px !important;
      background-color: rgb(154,27,66) !important;
      &:hover {
         background-color: rgb(123,22,53) !important;
      }
   }
   .el-menu--collapse .el-menu .el-submenu {
      min-width: 180px !important;
   }

   //适配移动端
   .mobile {
      .main-container {
         margin-left: 0px;
      }
      .sidebar-container {
         transition: transform .28s;
         width: 180px !important;
      }
      &.hideSidebar {
         .sidebar-container {
            transition-duration: 0.3s;
            transform: translate3d(-180px, 0, 0);
         }
      }
   }
   .withoutAnimation {
      .main-container,
      .sidebar-container {
         transition: none;
      }
   }
}

.el-menu--vertical {
   & > .el-menu {
      .svg-icon {
         margin-right: 16px;
      }
   }
}

//搜索栏动画
.searchStatus {
   max-height: 0 !important;
   transition: all 0.8s ease 0s !important;
}
